#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <vector>
#include <string>
using namespace std;

int main()
{
    int n = 0;
    cin >> n;
    cerr << n << endl;
    int l = 1, r = n;
    vector<int> v;
    while (l <= r)
    {
        if (l == r)
        {
            v.push_back(l);
        }
        else
        {
            v.push_back(l);
            v.push_back(r);
        }
        ++l;
        --r;
    }
    for (auto& a : v)
    {
        cout << a << " ";
    }
    return 0;
}